﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.PartialModel
{
    public class OperationTechProgGridViewModel : UserAllPermissionsViewModel
    {
        public string TechProgErrorMessage { get; set; }
        public double TechProgLeftScrollPossition { get; set; }
        public double TechProgTopScrollPossition { get; set; }
        public List<OperationTechProgGridRowViewModel> Rows { get; set; }
        public List<OperationTechProgGridSaveRowViewModel> SaveRows { get; set; }
        public List<SelectListItem> TechProgType { get; set; }
        public List<SelectListItem> TechProgDetail { get; set; }
        // TechProg Type filter
        public List<CheckBoxControlViewModel> TechProgFilterType { get; set; }
        public List<CheckBoxControlViewModel> TechProgFilterSelType { get; set; }
        public List<string> SelectedTechProgFilterType { set; get; }
        // Hide Show
        public bool ViewTechProgDay { set; get; }
        public bool ViewTechProgPrn { set; get; }
        public bool ViewTechProgDate { set; get; }
        public bool ViewTechProgTime { set; get; }
        public bool ViewTechProgDetail { set; get; }
        public bool ViewTechProgDescription { set; get; }
        public bool ViewTechProgVia { set; get; }
        public bool ViewTechProgType { set; get; }
        public bool ViewTechProgVendorName { set; get; }
        public bool ViewTechProgVendorAddress { set; get; }
        public bool ViewTechProgVendorEmail { set; get; }
        public bool ViewTechProgGuideName { set; get; }
        public bool ViewTechProgGuidePhone { set; get; }
        public bool ViewTechProgCity { set; get; }
        public bool ViewTechProgArea { set; get; }
        // Filter Remove
        public bool TechProgIsRemoveFilterDivShow { set; get; }
        public bool TechProgIsRemoveTypeFilter { set; get; }
        // TechProg Search

        [DisplayName("Group Code:")]
        public string TechProgSearchGroupCode { get; set; }
        public bool TechProgUpdated { get; set; }
        public string TechProgUpdtDate { get; set; }
        public int TechProgGroupIDTxt { get; set; }
        //// for filtering, update, seacrh
        public bool IsTechProgFilter { set; get; }
        public bool IsTechProgView { set; get; }
        public bool IsTechProgUpdate { set; get; }
        public bool TechProgIsSearch { get; set; }
       
    }
    [Serializable]
    public class OperationTechProgGridRowViewModel
    {
        public int TechProgGroupID { get; set; }
        public string TechProgVendor { get; set; }
        public string TechProgEmployee { get; set; }
        public string TechProgVendorAddress { get; set; }
        public string TechProgVendorEmail { get; set; }
        public string TechProgGuide { get; set; }
        public string TechProgGuidePhone { get; set; }
        public string TechProgDetail { get; set; }
        public string TechProgDay { get; set; }
        public string TechProgDate { get; set; }
        public string TechProgTime { get; set; }
        public string TechProgOldTime { get; set; }
        public string TechProgDesc { get; set; }
        public string TechProgVia { get; set; }
        public string TechProgCity { get; set; }
        public string TechProgArea { get; set; }
        public string TechProgType { get; set; }
        public bool TechProgPrnFlag { get; set; }
    }
    public class OperationTechProgGridSaveRowViewModel
    {
        public int TechProgGroupID { get; set; }
        public int TechProgDetailID { get; set; }
        public string TechProgDate { get; set; }
        public string TechProgTime { get; set; }
        public string TechProgOldTime { get; set; }
        public string TechProgDesc { get; set; }
        public string TechProgVia { get; set; }
        public bool TechProgPrnFlag { get; set; }
    }
   
}